package com.itheima.stock.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author zxh
 * @created 2024/12/16 22:45
 * @description
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class StockUpDownVO {

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime time;
    private List<Info> infos;


    @Data
    public static class Info{
        private Long count;
        private String title;
    }
}
